5
|
How do I put a picture on the control's background

<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="VBScript">
Function Init()
With ScrollBar1
.Picture = ScrollBar1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.VisiblePart(640) = False
.BackColor = &H80000004
End With
End Function
</SCRIPT>
</BODY>
|
4
|
How can I change the size of control's font

<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="VBScript">
Function Init()
With ScrollBar1
.Font.Size = 12
.ForeColor = RGB(255,0,0)
.Caption(256) = "<img>0</img>thumb"
End With
End Function
</SCRIPT>
</BODY>
|
3
|
How do I change the control's font

<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="VBScript">
Function Init()
With ScrollBar1
.Font.Name = "Tahoma"
.ForeColor = RGB(255,0,0)
.Caption(256) = "<img>0</img>thumb"
End With
End Function
</SCRIPT>
</BODY>
|
2
|
How can I change the control's foreground color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="VBScript">
Function Init()
With ScrollBar1
.ForeColor = RGB(255,0,0)
.Caption(256) = "<img>0</img>thumb"
End With
End Function
</SCRIPT>
</BODY>
|
1
|
How can I change the control's background color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="VBScript">
Function Init()
With ScrollBar1
.BackColor = RGB(0,255,0)
.VisiblePart(640) = False
End With
End Function
</SCRIPT>
</BODY>
|